package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.workKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface workMapper {
    int deleteByPrimaryKey(workKey record);

    int insert(workKey record);

    int insertSelective(workKey record);

    List<workKey> getAllWorkKey();

    List<workKey> fuzzyQuery(String key);

    List<String> getMembersByPCode(String pCode);

    int delete(String pCode, String sCode);

    List<String> select(String dCode, String pCode);
}